#ifndef MYWIDGET_H
#define MYWIDGET_H

#include <QWidget>
#include <QHBoxLayout>
#include "ui_mywidget.h"

#include "myplayer/SrDemuxThread.h"

//namespace Ui {
//class MyWidget;
//}

class MyWidget : public QWidget
{
    Q_OBJECT

public:
    explicit MyWidget(QWidget *parent = 0);
    ~MyWidget();

private:
    Ui::MyWidget *ui;

    SrDemuxThread dt1;
    SrDemuxThread dt2;
    SrDemuxThread dt3;
    SrDemuxThread dt4;

private slots:
    void on_openBtn1_clicked();
    void on_closeBtn1_clicked();
    void on_openBtn2_clicked();
    void on_openBtn3_clicked();
    void on_openBtn4_clicked();
    void on_closeBtn2_clicked();
    void on_closeBtn3_clicked();
    void on_closeBtn4_clicked();
};

#endif // MYWIDGET_H
